package com.lfl.springbootmybatis.mapper;

import com.lfl.springbootmybatis.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;


@Mapper
public interface UserMapper {

    @Select("select  * from  user where id =#{id}")
    public User findById(Integer id);
}
